package com.easylinkin.linkappapi.lobar.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.easylinkin.linkappapi.common.model.RequestModel;
import com.easylinkin.linkappapi.lobar.dto.CheckPeopleInfoDTO;
import com.easylinkin.linkappapi.lobar.dto.CheckRecordDTO;
import com.easylinkin.linkappapi.lobar.dto.OCRIdentifyDTO;
import com.easylinkin.linkappapi.lobar.entity.AppPeopleCheck;
import com.easylinkin.linkappapi.lobar.entity.vo.CheckRecordVo;
import site.morn.rest.RestMessage;

public interface LaborManagementService extends IService<AppPeopleCheck> {

    RestMessage getPeopleInfo(CheckPeopleInfoDTO query);

    RestMessage getCheckRecordList(RequestModel<CheckRecordDTO> query);

    RestMessage saveCheckRecord(AppPeopleCheck dto);

    RestMessage queryRecordDetail(String id);

    RestMessage deleteRecord(CheckRecordVo vo);

    RestMessage queryCurState(CheckPeopleInfoDTO query);

    RestMessage dealCheckRecord(AppPeopleCheck dto);

    RestMessage getCount(CheckRecordDTO dto);

    RestMessage ocrIdentify(OCRIdentifyDTO dto) throws Exception;

    RestMessage getPeopleList(CheckPeopleInfoDTO query);
}
